import type { App } from "vue";
import { Icon } from "@iconify/vue";
import SettingBox from "@/components/SettingBox/index.vue";
import SettingBoxItem from "@/components/SettingBoxItem/index.vue";
import InputNumber from "@/components/InputNumber/index.vue";
import CodeEditor from "@/components/CodeEditor/index.vue";

const registerGlobalComponent = (app: App) => {
  app.component("Icon", Icon);
  app.component("SettingBox", SettingBox);
  app.component("SettingBoxItem", SettingBoxItem);
  app.component("InputNumber", InputNumber);
  app.component("CodeEditor", CodeEditor);
};

export default registerGlobalComponent;
